
import request from '@/utils/request'

export default {
    getList(params) {
        return request({
        url: '/sxConfig/',
        method: 'get',
        params
      })
    },

    get(params) {
      return request({
        url: '/sxConfig/' + params.configKey,
        method: 'get',
        params
      })
	  },

	  getPage(params) {
      return request({
        url: '/sxConfig/page',
        method: 'get',
        params
      })
    },

    update(params) {
      return request({
        url: '/sxConfig/update',
        method: 'post',
        params
      })
    },

    insert(params) {
      return request({
        url: '/sxConfig/insert',
        method: 'post',
        params
      })
    },

    remove(params) {
      return request({
        url: '/sxConfig/delete',
        method: 'post',
        params
      })
    }
}
